Skip to content

worker: serve go-import meta for go install; classify repo as Go - #4

Open
pstayets wants to merge 1 commit into
TeoSlayer:mainfrom
pstayets:go-install-and-linguist
Open

worker: serve go-import meta for go install; classify repo as Go#4
pstayets wants to merge 1 commit into
TeoSlayer:mainfrom
pstayets:go-install-and-linguist

Conversation

@pstayets

Copy link
Copy Markdown

Two small distribution fixes, no behavior change for existing users.

  1. go install shell.online/cmd/shell@latest currently fails because the site serves no go-import meta. The Worker now answers any request carrying ?go-get=1 with the standard meta tag for module shell.online, which makes go install a zero-maintenance install path worth a README line.

  2. Linguist classifies the repo as TypeScript because the Worker and site outweigh the Go CLI by line count, which costs the project its spot on Go-side discovery (trending/go, awesome-go eligibility). .gitattributes now marks web/, worker/, and shared/ as non-detectable so the repo classifies by its product language.

Checked locally, npx tsc -p tsconfig.worker.json --noEmit passes. The go-get response is static HTML with no session or secret surface.

?go-get=1 on any path returns the go-import meta for module shell.online,
making 'go install shell.online/cmd/shell@latest' resolve. Linguist
attributes exclude the Worker/site TypeScript from language stats so the
repo classifies by its product language.
@pstayets
pstayets requested a review from TeoSlayer as a code owner August 26, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant